﻿using System.Collections.Generic;
using System.Windows.Data;
using SoftSource.MVVMC;
using SoftSource.Timecard.Web.Data;

namespace SoftSource.Timecard.Entry.ViewModelInterfaces
{
    public interface IEntryEditorViewModelConsume : IDataViewModelConsume, IEditorConsume
    {
        #region Properties

        EntryLog Entry { get; }
        PagedCollectionView Projects { get; }
        PagedCollectionView Categories { get; }

        #endregion Properties
    }

    public interface IEntryEditorViewModelService : IDataViewModelService, IEditorService
    {
        #region Properties

        EntryLog Entry { get; set; }
        IEnumerable<ProjectSummary> ProjectSource { get; set; }
        IEnumerable<CategorySummary> CategorySource { get; set; }
        IEnumerable<ProjectCategorySummary> ProjectCategories { get; set; }

        #endregion Properties
    }
    
    public interface IEntryEditorViewModel : IDataViewModel, IEditor, IEntryEditorViewModelConsume, IEntryEditorViewModelService
    {
    }
}
